<script lang="ts" setup>
const router = useRouter()
const test = ref('')
</script>

<template>
  <el-card>
    <template #header>
      <h3>menu1_3（模拟列表）</h3>
    </template>

    <el-button
      type="primary"
      @click="
        router.push({
          path: '/menu/menu1/menu1_2',
          query: {
            test: 1
          }
        })
      "
      >按钮1</el-button
    >
    <el-button
      type="primary"
      @click="
        router.push({
          path: '/menu/menu1/menu1_2',
          query: {
            test: 2
          }
        })
      "
      >按钮2</el-button
    >
    <el-input v-model="test" placeholder="请输入" clearable></el-input>
  </el-card>
</template>
